﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site2.Master" Inherits="System.Web.Mvc.ViewPage<Dissemination.MVC.ViewModels.AssessmentViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<asp:Literal runat="server" Text="<%$ Resources:Literals, ApplicationTitle%>" /> &middot; Edit assessment
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Edit assessment results</h1>

    <% using (Html.BeginForm()) {%>
        <%= Html.ValidationSummary(true) %>

        <%= Html.EditorFor(model => model.Assessment, new { Model.Values }) %>
        
        <p class="enlaces">
            <a href="#" onclick="document.forms[0].submit()">Save</a>
            <%= Html.ActionLink("Back to seminar", "Details", "Seminar", new { id = ViewContext.RouteData.Values["seminarid"] }, null)%>
        </p>

    <% } %>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="BreadcrumbContent" runat="server">
    <%= Html.ActionLink(Model.Assessment.Seminar.SeminarCode + " seminar", "Details", "Seminar", new { id = ViewContext.RouteData.Values["seminarid"] }, null)%> &gt; Edit assessment
</asp:Content>

